/* Copyright 2014 Huawei Technologies Co., Ltd. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
    http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License. */

// customize component type select area
.component-type-select-div{
  width:380px;
  float:right;
  background-color:#f7f7f7;
  color:#555;
  /* color:#fff; */
  height:32px;
  padding:0px 10px;
  margin:5px 10px
}

.component-type-select-div > .select-label{
  float:left;
  margin-top:7px;
  width:175px;
}

.component-type-select-div > .select-div{
  float:right;
  margin-top:2px;
  width:175px;
}

.component-type-select-div .select2-container--default .select2-selection--single {
    background-color: #555;
}

.component-type-select-div .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #fff;
}

// component base config customize
.type-header{
  height:40px;
  background-color:#f9f9f9;
  border:2px solid #f0f0f0;
  margin-top: 30px;
}

.type-label{
  float:left;
  width:150px;
  height:100%;
  padding:10px 20px;
  border-right:2px solid #f0f0f0;
}

.type-setting{
  float:left;
  height:100%;
  margin-left: 2px;
  padding:8px 20px;
  border-left:2px solid #f0f0f0;
  font-size:12px
}

.resource-setting-div{
  border:2px solid #f0f0f0;
  border-top:none;
  padding:30px 0px;
}

.port-setting-div{
  border:2px solid #f0f0f0;
  border-top:none;
  padding:30px 0px;
}

.port-row{
  background-color:#f3f3f3;
  width:92%;
  float: left;
  margin:10px 4%;
  clear:both;
}

.port-remove-div{
  width:50px;
  float: right;
  padding:16px;
  cursor:pointer;
  font-size: 16px;
  color: #ababab;

  &:hover{
    color: #787878;
  }
}

.port-div{
  width:30%;
  float:left;
  padding:8px;
}

.port-div-more{
  width:45%;
}

.no-use-node-port{
  width: 45% !important;
}

.add-port, .c-new-kv{
  font-size:14px;
  margin-left:50px;
  margin-top:10px;
}

// .unit{
//   position:absolute;
//   right:16px;
//   top:7px;
//   opacity: 0.4;
// }

.advanced-service-textarea{
  width: 100%;
  height:500px;
  border:none;
  background-color:#f9f9f9;
}

.advanced-pod-textarea{
  width: 100%;
  height:500px;
  border:none;
  background-color:#f5f5f5;
}

.advanced-setting-div{
  border:2px solid #f0f0f0;
  border-top:none;
  padding:20px;
}

.advanced-content{
  background-color:#eaeaea;
}

// component tab
.component-tab{
  height: 40px;
  border-bottom: 1px solid #eaeaea;
  cursor:pointer;
  display: flex;
  align-items: center;

  .tab-text{
    width:90%;
    text-align: center;
  }

  &:hover{
    font-size:120%;
  }

  .tab-finished{
    border-radius: 50%;
    width:10px;
    height:10px;
    background-color:#64bd63;
  }

  .tab-unfinished{
    border-radius: 50%;
    width:10px;
    height:10px;
    background-color:#dd5826;
  }
}

.component-tab-active{
  border-bottom: 2px solid #5d8fc2;
}

// runtime config
.nav-link{
  cursor:pointer;
}

.my-tab-pane{
  padding: 15px 40px;
}

.image-input-div{
  padding-top:15px;
  border:2px solid #f0f0f0;
  border-top:none;
  margin:0px;
}